<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
	<head>
		<title>登录处理页面</title>
	</head>
	<body>
		<%
			request.setCharacterEncoding("UTF-8");
			String name=request.getParameter("userid");
			String password=request.getParameter("passwd");
			if(name.equals("sa123")&&password.equals("sa_123")){
				request.getRequestDispatcher("welcome.jsp").forward(request, response);
			}else{
				response.sendRedirect("mailLogin.jsp");
			}
		%>
	</body>
</html>
